|
|
|
|
|
|
|
4. Create and copy the template directories and files. On your PC, add the following subdirectories to the TEMPLATE directory: CODE, CONTROLS, and MENUS. Then copy the contents of the corresponding directories in the COMMON\TOOLS\VB\UNSUPPRT\TMPLMGR\TEMPLATE directory on the CD-ROM. |
|
|
|
|
|
|
|
|
5. Activate the add-in in Visual Basic by choosing Add-Ins, Add-In Manager from the menu, selecting VB Template Manager, and then clicking OK. |
|
|
|
|
|
|
|
|
If you've completed these steps properly, you'll see three new entries on the Visual Basic Tools menu that allow you to access the Template Manager. |
|
|
|
|
|
|
|
|
Working with the Template Manager |
|
|
|
|
|
|
|
|
Using the Template Manager is a very simple process. To see how it works, add a new form to your open project and then select Tools, Add Menu to display the Add Menu dialog box (see Figure 4.27). The Template Manager's Add Menu dialog box displays the available choices to choose from. |
|
|
|
|
|
|
|
|
Figure 4.27.
Choose Tools, Add Menu to open the Add Menu dialog box in the
Template Manager. |
|
|
|
|
|
|
|
|
Select one of the menu items listed and click the Open button to add the menu to the current open form. The same process can be used to add controls or code sections to the form. |
|
|
|
|
|